/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2018 All Rights Reserved.
 */
package com.antcloud.demo.antscheduler.handlers;

import java.util.concurrent.ThreadLocalRandom;

/**
 *
 * @author qian.lqlq
 * @version $Id: SuccessUtil.java, v 0.1 2018年08月24日 11:08 qian.lqlq Exp $
 */
public class SuccessUtil {

    public static boolean isSucess(int target){
        int random = ThreadLocalRandom.current().nextInt(100);
        return random > target;
    }
}